package homePage.bean;

public class Book {
    protected String bookName;
    protected String author;
    protected String kind;
    protected int currrent_number;
    protected int all_number;
    protected String src;
    protected String position;
    protected String state;
    protected String recommend;


    public Book(String bookName, String author, String kind, int currrent_number, int all_number, String src, String position, String state, String recommend) {
        this.bookName = bookName;
        this.author = author;
        this.kind = kind;
        this.currrent_number = currrent_number;
        this.all_number = all_number;
        this.src = src;
        this.position = position;
        this.state = state;
        this.recommend = recommend;
    }

    public Book() {
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public int getCurrrent_number() {
        return currrent_number;
    }

    public void setCurrrent_number(int currrent_number) {
        this.currrent_number = currrent_number;
    }

    public int getAll_number() {
        return all_number;
    }

    public void setAll_number(int all_number) {
        this.all_number = all_number;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", kind='" + kind + '\'' +
                ", currrent_number=" + currrent_number +
                ", all_number=" + all_number +
                '}';
    }
}
